package hcn.protocol.ods.casehistory;

import hcn.util.validation.InvokeType;
import hcn.util.validation.ValidationAnnotaion;
import lombok.*;

/**
 * @Author: zhusm@bsoft.com.cn
 *
 * @Description: 录入快递信息请求参数
 *
 * @Create: 2019-07-26 14:18
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ExpressDeliveryVO {
    @ValidationAnnotaion(type=InvokeType.NUMBER,minValue =1,errorDescription = "病历信息id错误")
    private int bcId;//病历信息id
    @ValidationAnnotaion.NotNull(errorDescription = "快递单号不能为空")
    private String trackNo;//快递单号
    @ValidationAnnotaion.NotNull(errorDescription = "物流承运商代码不能为空")
    private String deliveryModeCode;//物流承运商代码

}
